const proxy = require('http-proxy-middleware')
module.exports = function(app){
    app.use(
        proxy(
            '/bulubulu/api',
            {
                target: 'http://localhost:8787',
                secure: false,
                changeOrigin: true,
                pathRewrite: {
                    '^/bulubulu/api': ''
                }
            }
        )
    )
}